﻿using System.Windows.Input;
using Columbus;
using Columbus.Commands;

namespace ColumbusWithNinjectSample
{
    public class Page2ViewModel : ViewModel
    {
        public Page2ViewModel()
        {
            GoToPage1Command = new DelegateCommand(() => Navigator.NavigateTo<ApplicationController>(c => c.Page1()));
        }

        public ICommand GoToPage1Command { get; set; }
    }
}